package com.liangtian.mdm.material.model;

import java.util.Date;
import java.util.List;

import javax.persistence.Table;

import com.liangtian.mdm.base.model.BaseModel;

/**
 * 物料类别
 *
 
 * @since 2016-09-28
 */

@Table(name = "WL_LB")
public class WlLb extends BaseModel {
    private String lbbm;// 类别编码
    private String lbmc;// 类别名称
    private String pid;// 父类ID
    private String lbbmId;// 类别ID
    private String bzsm;// 备注
    private String jldw;// 计量单位
    private String yhbm;// 用户编码
    private String nouse;// 是否停用(0启用,1停用) 默认=0
    private String lmzwm;// 类名是否作为名称(0否,1是)
    private String wzcpbz;// 区分物资还是商品（2产品，1物资）
    private String bmgz;// 编码规则
    private String cpgroup;// 产品组(1：6+10 2：8+8)
    private String cglx;// 采购类型(1：直采 2：组采 3：自采)
    private String errtext;// 提示信息
    private String state;// 状态标志(0导入，4提交审核通过，5提交待审核，6提交审核驳回，7启用停用待审核，8启用停用审核通过，9启用停用审核驳回)
    // 默认=0
    private String status;// 操作及查询状态　默认=1，－1更新版本，-2申请页面查询,-3申请页面待审核,-4维护页面待审核,-5申请可用类别树全查询,-6审核可用类别树全查询,-7可用类别树全查询，-8维护页面查询,-9申请类别树全查询,-10审核类别树全查询
    private String creatorId;// 申请人编码
    private String creatorName;// 申请人名称
    private String createTime;// 申请时间
    private String updateUid;// 修改人编码
    private String updateUname;// 修改人名称
    private int version;// 版本
    private String submitTime;// 提交时间
    private String updateTime;// 更新时间
    private String submitUid;// 提交人编码
    private String submitUname;// 提交人名称
    private String allowNextLevel;// 是否允许添加8位编码(1是,0否)
    private String lbmcjc; // 类别名称简称
    private String normt1; // 自采标识（电子商务） 0 否 1 是
    private String normt2; // 组采标识（电子商务）0 否 1 是
    private String normt3; // 直采标志（电子商务）0 否 1 是
    private String normt4; // 区域协同采购标识（电子商务）0 否 1 是

    private boolean isParent;
    private String limit;

    private boolean halfCheck = false; //半选状态
    private boolean checked = false; //全选状态
    private boolean open = true;
//	private boolean nocheck = false;

    private String taskId;//非数据库字段
    private int instanceId;//非数据库字段
    private String opertype;//非数据库字段

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

    public boolean isHalfCheck() {
        return halfCheck;
    }

    public void setHalfCheck(boolean halfCheck) {
        this.halfCheck = halfCheck;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }
	/*public boolean isNocheck() {
		return nocheck;
	}
	public void setNocheck(boolean nocheck) {
		this.nocheck = nocheck;
	}*/

    public String getLbbm() {
        return lbbm;
    }

    public void setLbbm(String lbbm) {
        this.lbbm = lbbm;
    }

    public String getLbmc() {
        return lbmc;
    }

    public void setLbmc(String lbmc) {
        this.lbmc = lbmc;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getLbbmId() {
        return lbbmId;
    }

    public void setLbbmId(String lbbmId) {
        this.lbbmId = lbbmId;
    }

    public String getBzsm() {
        return bzsm;
    }

    public void setBzsm(String bzsm) {
        this.bzsm = bzsm;
    }

    public String getJldw() {
        return jldw;
    }

    public void setJldw(String jldw) {
        this.jldw = jldw;
    }

    public String getYhbm() {
        return yhbm;
    }

    public void setYhbm(String yhbm) {
        this.yhbm = yhbm;
    }

    public String getNouse() {
        return nouse;
    }

    public void setNouse(String nouse) {
        this.nouse = nouse;
    }

    public String getLmzwm() {
        return lmzwm;
    }

    public void setLmzwm(String lmzwm) {
        this.lmzwm = lmzwm;
    }

    public String getWzcpbz() {
        return wzcpbz;
    }

    public void setWzcpbz(String wzcpbz) {
        this.wzcpbz = wzcpbz;
    }

    public String getBmgz() {
        return bmgz;
    }

    public void setBmgz(String bmgz) {
        this.bmgz = bmgz;
    }

    public String getCpgroup() {
        return cpgroup;
    }

    public void setCpgroup(String cpgroup) {
        this.cpgroup = cpgroup;
    }

    public String getCglx() {
        return cglx;
    }

    public void setCglx(String cglx) {
        this.cglx = cglx;
    }

    public String getErrtext() {
        return errtext;
    }

    public void setErrtext(String errtext) {
        this.errtext = errtext;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public String getUpdateUid() {
        return updateUid;
    }

    public void setUpdateUid(String updateUid) {
        this.updateUid = updateUid;
    }

    public String getUpdateUname() {
        return updateUname;
    }

    public void setUpdateUname(String updateUname) {
        this.updateUname = updateUname;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public String getSubmitUid() {
        return submitUid;
    }

    public void setSubmitUid(String submitUid) {
        this.submitUid = submitUid;
    }

    public String getSubmitUname() {
        return submitUname;
    }

    public void setSubmitUname(String submitUname) {
        this.submitUname = submitUname;
    }

    public String getAllowNextLevel() {
        return allowNextLevel;
    }

    public void setAllowNextLevel(String allowNextLevel) {
        this.allowNextLevel = allowNextLevel;
    }

    public String getLbmcjc() {
        return lbmcjc;
    }

    public void setLbmcjc(String lbmcjc) {
        this.lbmcjc = lbmcjc;
    }

    public String getNormt1() {
        return normt1;
    }

    public void setNormt1(String normt1) {
        this.normt1 = normt1;
    }

    public String getNormt2() {
        return normt2;
    }

    public void setNormt2(String normt2) {
        this.normt2 = normt2;
    }

    public String getNormt3() {
        return normt3;
    }

    public void setNormt3(String normt3) {
        this.normt3 = normt3;
    }

    public String getNormt4() {
        return normt4;
    }

    public void setNormt4(String normt4) {
        this.normt4 = normt4;
    }

    public String getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(String submitTime) {
        this.submitTime = submitTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Boolean getIsParent() {
        return isParent;
    }

    public void setIsParent(Boolean isParent) {
        this.isParent = isParent;
    }

    public String getLimit() {
        return limit;
    }

    public void setLimit(String limit) {
        this.limit = limit;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public int getInstanceId() {
        return instanceId;
    }

    public void setInstanceId(int instanceId) {
        this.instanceId = instanceId;
    }

    public String getOpertype() {
        return opertype;
    }

    public void setOpertype(String opertype) {
        this.opertype = opertype;
    }

}
